import * as http from 'http'
const server=http.createServer((req,res)=>{
    res.end("hello world")

});
server.listen(8000,()=>{
    console.log("server is running at port 8000")
});